#include <iostream>
#include <vector>
//#include <utility>
#include <deque>
#include <climits>
#include <string>
#include <fstream>
#include "ford_falkerson.h"
#include "playCubes.h"

using namespace std;

int main()
{
    string word;
    vector<string> cubes;
    ifstream in ("input.txt");
    in >> word;
    while (!in.eof()){
        string cube;
        in >> cube;
        if (cube.size() == 0){
            break;
        }
        cubes.push_back(cube);
    }
    in.close();
    playCubes(word,cubes);
    return 0;
}
